package com.hylanda.sys.entity;

import java.io.Serializable;
import java.sql.Timestamp;
import com.hylanda.util.annotation.HyTable;


/**
 * The persistent class for the u_user database table.
 * 
 */
@HyTable(name="sys_user")
public class UUser implements Serializable {

	
	private static final long serialVersionUID = 9124671546995520745L;

	private Long id;

	private Timestamp createTime;

	private String email;

	private Timestamp lastLoginTime;

	private String nickname;

	private String pswd;
	
	private Integer status=1;
	private String sex;
	
//    private Department department;
	
//    private List<URole> roles;

	public UUser() {
	}

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreateTime() {
		return this.createTime;
	}

	public void setCreateTime(Timestamp createTime) {
		this.createTime = createTime;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public Timestamp getLastLoginTime() {
		return this.lastLoginTime;
	}

	public void setLastLoginTime(Timestamp lastLoginTime) {
		this.lastLoginTime = lastLoginTime;
	}

	public String getNickname() {
		return this.nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getPswd() {
		return this.pswd;
	}

	public void setPswd(String pswd) {
		this.pswd = pswd;
	}

	public Integer getStatus() {
		return this.status;
	}

	public void setStatus(Integer status) {
		this.status = status;
	}

//	public Department getDepartment() {
//		return department;
//	}
//
//	public void setDepartment(Department department) {
//		this.department = department;
//	}
//
//	public List<URole> getRoles() {
//		return roles;
//	}
//
//	public void setRoles(List<URole> roles) {
//		this.roles = roles;
//	}

	public String getSex() {
		return sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

}